package com.bw.service;

import com.bw.domain.Role;

import java.util.List;

public interface RoleService {
    List<Role> list();

    boolean add(Role role, String menuIds);

    Role checkRoleName(String roleName);

    List<Integer> getMenuIdsByRoleId(Integer id);
}
